package cn.kcq.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.kcq.dao.CommonDao;
import cn.kcq.entity.CusCustomer;
@Service("cusService")
public class CusServiceDaoImpl implements CusServiceDao {
	@Autowired
	private CommonDao commonDao;

	public void setCommonDao(CommonDao commonDao) {
		this.commonDao = commonDao;
	}

	@Override
	public List<CusCustomer> getCusList() {
		String sql = "From CusCustomer";
		return commonDao.search(sql,null);
	}

}
